<div class="content">
	<?=$resourcesText['text1']?>
	<br /><br />
	<? foreach($categories as $category): ?>
	<h3 style="color: #de4b32;"><b><?=html::chars($category['name'])?>:</b></h3>
	<? if(isset($items[$category['id']])): ?>
	<? foreach($items[$category['id']] as $item): ?>
	<table width="100%" class="items">
		<tr>
			<td class="padding10">
				<b><?=Html::chars($item['name'])?></b><br />
				<?=$item['text1']?><br />
				<?=Html::chars($item['address'])?><br />
				<?=Html::chars($item['phone'])?><br />
				<a href="<?=$item['url']?>" target="_blank"><?=$item['url']?></a>
			</td>
		</tr>
	</table>
	<br clear="all" />
	<? endforeach; ?>
	<? else: ?>
	<p>No items in this category</p>
	<? endif; ?>
	<? endforeach; ?>
	<p style="color:#d09022; font-size:14px; float:right; padding-right:20px;">
		<a href="#top" id="bottomLink">Top</a>
	</p>
</div>